package cn.ssm.services;

import cn.ssm.mapper.UserMapper;
import cn.ssm.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author ruanxin
 */
@Service
public class UserServices {
    @Autowired
    private UserMapper userMapper;

    public List<User> findAllUsers() {
        return userMapper.findAllUsers();
    }

}
